package com.wht.arthas.service;

import com.wht.arthas.model.User;

import java.util.Collection;
import java.util.List;

/**
 * @author haoting.wang
 * @date 2020/8/4 7:23 下午
 **/
public interface UserService {

    User findById(Integer id);


    Collection<User> getAllUser();

    void saveOrUpdate(User user);

    void update(User user);

    void save(User user);

    void sleep();
}
